package com.luck.easyfoodbatch.mvp.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * author：luck
 * project：EasyFoodBatch
 * package：com.luck.easyfoodbatch.mvp.model
 * email：893855882@qq.com
 * data：16/11/5
 */
public class GetBasic implements Serializable {

    private int status;
    private String authToken;

    private DataBean data;
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        private int gid;
        private int shop_id;
        private String goods_name;
        private String no;
        private String thumb;
        private String country_id;
        private String class_id;
        private String sold_least_num;
        private String market_price;
        private int is_free_post;
        private String free_post_num;
        private String use_ydx;
        private String warehouse_id;
        private String num;
        private String specifications;
        @SerializedName("package")
        private String packageX;
        private String weight;
        private String volume;
        private String is_hot;
        private String discount_json;
        private String is_recommend;
        private String total_sold_num;
        private int status;
        private int created_at;
        private int updated_at;
        private String total_stock;
        private String country_name;
        private String price;
        private String class_name;
        private String price_range;
        private int is_expiring;
        private int is_collect;
        private String single_specifications;
        private String single_num;

        public String getSingle_num() {
            return single_num;
        }

        public void setSingle_num(String single_num) {
            this.single_num = single_num;
        }

        public String getSingle_specifications() {
            return single_specifications;
        }

        public void setSingle_specifications(String single_specifications) {
            this.single_specifications = single_specifications;
        }

        private ShopBean shop;

        private WarehouseBean warehouse;

        private List<ThumbsBean> thumbs;

        private List<DiscountBean> discount;

        public int getGid() {
            return gid;
        }

        public void setGid(int gid) {
            this.gid = gid;
        }

        public int getShop_id() {
            return shop_id;
        }

        public void setShop_id(int shop_id) {
            this.shop_id = shop_id;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getCountry_id() {
            return country_id;
        }

        public void setCountry_id(String country_id) {
            this.country_id = country_id;
        }

        public String getClass_id() {
            return class_id;
        }

        public void setClass_id(String class_id) {
            this.class_id = class_id;
        }

        public String getSold_least_num() {
            return sold_least_num;
        }

        public void setSold_least_num(String sold_least_num) {
            this.sold_least_num = sold_least_num;
        }

        public String getMarket_price() {
            return market_price;
        }

        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }

        public int getIs_free_post() {
            return is_free_post;
        }

        public void setIs_free_post(int is_free_post) {
            this.is_free_post = is_free_post;
        }

        public String getFree_post_num() {
            return free_post_num;
        }

        public void setFree_post_num(String free_post_num) {
            this.free_post_num = free_post_num;
        }

        public String getUse_ydx() {
            return use_ydx;
        }

        public void setUse_ydx(String use_ydx) {
            this.use_ydx = use_ydx;
        }

        public String getWarehouse_id() {
            return warehouse_id;
        }

        public void setWarehouse_id(String warehouse_id) {
            this.warehouse_id = warehouse_id;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getSpecifications() {
            return specifications;
        }

        public void setSpecifications(String specifications) {
            this.specifications = specifications;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public String getVolume() {
            return volume;
        }

        public void setVolume(String volume) {
            this.volume = volume;
        }

        public String getIs_hot() {
            return is_hot;
        }

        public void setIs_hot(String is_hot) {
            this.is_hot = is_hot;
        }

        public String getDiscount_json() {
            return discount_json;
        }

        public void setDiscount_json(String discount_json) {
            this.discount_json = discount_json;
        }

        public String getIs_recommend() {
            return is_recommend;
        }

        public void setIs_recommend(String is_recommend) {
            this.is_recommend = is_recommend;
        }

        public String getTotal_sold_num() {
            return total_sold_num;
        }

        public void setTotal_sold_num(String total_sold_num) {
            this.total_sold_num = total_sold_num;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getCreated_at() {
            return created_at;
        }

        public void setCreated_at(int created_at) {
            this.created_at = created_at;
        }

        public int getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(int updated_at) {
            this.updated_at = updated_at;
        }

        public String getTotal_stock() {
            return total_stock;
        }

        public void setTotal_stock(String total_stock) {
            this.total_stock = total_stock;
        }

        public String getCountry_name() {
            return country_name;
        }

        public void setCountry_name(String country_name) {
            this.country_name = country_name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getClass_name() {
            return class_name;
        }

        public void setClass_name(String class_name) {
            this.class_name = class_name;
        }

        public String getPrice_range() {
            return price_range;
        }

        public void setPrice_range(String price_range) {
            this.price_range = price_range;
        }

        public int getIs_expiring() {
            return is_expiring;
        }

        public void setIs_expiring(int is_expiring) {
            this.is_expiring = is_expiring;
        }

        public int getIs_collect() {
            return is_collect;
        }

        public void setIs_collect(int is_collect) {
            this.is_collect = is_collect;
        }

        public ShopBean getShop() {
            return shop;
        }

        public void setShop(ShopBean shop) {
            this.shop = shop;
        }

        public WarehouseBean getWarehouse() {
            return warehouse;
        }

        public void setWarehouse(WarehouseBean warehouse) {
            this.warehouse = warehouse;
        }

        public List<ThumbsBean> getThumbs() {
            return thumbs;
        }

        public void setThumbs(List<ThumbsBean> thumbs) {
            this.thumbs = thumbs;
        }

        public List<DiscountBean> getDiscount() {
            return discount;
        }

        public void setDiscount(List<DiscountBean> discount) {
            this.discount = discount;
        }

        public static class ShopBean {
            private int id;
            private int uid;
            private int seller_type;
            private String rate;
            private String name;
            private String phone;
            private String shop_avatar;
            private String shop_avatar_base_url;
            private String shop_name;
            private String shop_address;
            private String id_card;
            private int product_type;
            private String brand;
            private String license_path;
            private int real_goods;
            private int send_ontime;
            private int three_days_on;
            private int is_agree_commission;
            private int is_pay_ensure;
            private int total_order_num;
            private String total_sale_amount;
            private int total_collect_num;
            private int created_at;
            private int updated_at;
            private int score;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getSeller_type() {
                return seller_type;
            }

            public void setSeller_type(int seller_type) {
                this.seller_type = seller_type;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getShop_avatar() {
                return shop_avatar;
            }

            public void setShop_avatar(String shop_avatar) {
                this.shop_avatar = shop_avatar;
            }

            public String getShop_avatar_base_url() {
                return shop_avatar_base_url;
            }

            public void setShop_avatar_base_url(String shop_avatar_base_url) {
                this.shop_avatar_base_url = shop_avatar_base_url;
            }

            public String getShop_name() {
                return shop_name;
            }

            public void setShop_name(String shop_name) {
                this.shop_name = shop_name;
            }

            public String getShop_address() {
                return shop_address;
            }

            public void setShop_address(String shop_address) {
                this.shop_address = shop_address;
            }

            public String getId_card() {
                return id_card;
            }

            public void setId_card(String id_card) {
                this.id_card = id_card;
            }

            public int getProduct_type() {
                return product_type;
            }

            public void setProduct_type(int product_type) {
                this.product_type = product_type;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getLicense_path() {
                return license_path;
            }

            public void setLicense_path(String license_path) {
                this.license_path = license_path;
            }

            public int getReal_goods() {
                return real_goods;
            }

            public void setReal_goods(int real_goods) {
                this.real_goods = real_goods;
            }

            public int getSend_ontime() {
                return send_ontime;
            }

            public void setSend_ontime(int send_ontime) {
                this.send_ontime = send_ontime;
            }

            public int getThree_days_on() {
                return three_days_on;
            }

            public void setThree_days_on(int three_days_on) {
                this.three_days_on = three_days_on;
            }

            public int getIs_agree_commission() {
                return is_agree_commission;
            }

            public void setIs_agree_commission(int is_agree_commission) {
                this.is_agree_commission = is_agree_commission;
            }

            public int getIs_pay_ensure() {
                return is_pay_ensure;
            }

            public void setIs_pay_ensure(int is_pay_ensure) {
                this.is_pay_ensure = is_pay_ensure;
            }

            public int getTotal_order_num() {
                return total_order_num;
            }

            public void setTotal_order_num(int total_order_num) {
                this.total_order_num = total_order_num;
            }

            public String getTotal_sale_amount() {
                return total_sale_amount;
            }

            public void setTotal_sale_amount(String total_sale_amount) {
                this.total_sale_amount = total_sale_amount;
            }

            public int getTotal_collect_num() {
                return total_collect_num;
            }

            public void setTotal_collect_num(int total_collect_num) {
                this.total_collect_num = total_collect_num;
            }

            public int getCreated_at() {
                return created_at;
            }

            public void setCreated_at(int created_at) {
                this.created_at = created_at;
            }

            public int getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(int updated_at) {
                this.updated_at = updated_at;
            }

            public int getScore() {
                return score;
            }

            public void setScore(int score) {
                this.score = score;
            }
        }

        public static class WarehouseBean {
            private int address_id;
            private int type;
            private int uid;
            private String uname;
            private int province;
            private int city;
            private int town;
            private String street;
            private String mobile;
            private int is_default;
            private int created_at;
            private int updated_at;
            private String address_str;

            public int getAddress_id() {
                return address_id;
            }

            public void setAddress_id(int address_id) {
                this.address_id = address_id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public String getUname() {
                return uname;
            }

            public void setUname(String uname) {
                this.uname = uname;
            }

            public int getProvince() {
                return province;
            }

            public void setProvince(int province) {
                this.province = province;
            }

            public int getCity() {
                return city;
            }

            public void setCity(int city) {
                this.city = city;
            }

            public int getTown() {
                return town;
            }

            public void setTown(int town) {
                this.town = town;
            }

            public String getStreet() {
                return street;
            }

            public void setStreet(String street) {
                this.street = street;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public int getIs_default() {
                return is_default;
            }

            public void setIs_default(int is_default) {
                this.is_default = is_default;
            }

            public int getCreated_at() {
                return created_at;
            }

            public void setCreated_at(int created_at) {
                this.created_at = created_at;
            }

            public int getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(int updated_at) {
                this.updated_at = updated_at;
            }

            public String getAddress_str() {
                return address_str;
            }

            public void setAddress_str(String address_str) {
                this.address_str = address_str;
            }
        }

        public static class ThumbsBean {
            private String attach_id;
            private String class_id;
            private String path;
            private String base_url;

            public String getAttach_id() {
                return attach_id;
            }

            public void setAttach_id(String attach_id) {
                this.attach_id = attach_id;
            }

            public String getClass_id() {
                return class_id;
            }

            public void setClass_id(String class_id) {
                this.class_id = class_id;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public String getBase_url() {
                return base_url;
            }

            public void setBase_url(String base_url) {
                this.base_url = base_url;
            }
        }

        public static class DiscountBean {
            private String count;
            private String discount;

            public String getCount() {
                return count;
            }

            public void setCount(String count) {
                this.count = count;
            }

            public String getDiscount() {
                return discount;
            }

            public void setDiscount(String discount) {
                this.discount = discount;
            }
        }
    }
}
